Use priv->image_module->module_name instead of image_type which may be
authorMatthias Clasen <matthiasc@src.gnome.org>
Tue, 9 Apr 2002 00:38:38 +0000 (00:38 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 9 Apr 2002 00:38:38 +0000 (00:38 +0000)
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_load_module): Use
priv->image_module->module_name instead of image_type which may
be NULL.

gdk-pixbuf/ChangeLog
gdk-pixbuf/gdk-pixbuf-loader.c

index 7abfc86c2357c84e89c997a14d8fb6987bc557c2..6cde6b198a3f250eab1e9d584403d4353d8adc08 100644 (file)
@@ -1,3 +1,9 @@
+2002-04-09  Matthias Clasen  <maclas@gmx.de>
+
+       * gdk-pixbuf-loader.c (gdk_pixbuf_loader_load_module): Use 
+       priv->image_module->module_name instead of image_type which may 
+       be NULL.
+
 2002-04-06  Matthias Clasen  <maclas@gmx.de>
 
        * io-png.c (gdk_pixbuf__png_image_load): Restructured to use
index 148f9c74489aa9d542fc7db6677ebbdbfb05d831..52b1f112a6e1cc0ac83d2e034d74566559daaa9a 100644 (file)
@@ -248,7 +248,7 @@ gdk_pixbuf_loader_load_module (GdkPixbufLoader *loader,
                    GDK_PIXBUF_ERROR,
                    GDK_PIXBUF_ERROR_UNSUPPORTED_OPERATION,
                    _("Incremental loading of image type '%s' is not supported"),
-                   image_type);
+                   priv->image_module->module_name);
 
       return 0;
     }